package io.gitee.zhangbinhub.admin.po

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank

@Schema(description = "流程定义信息参数")
data class ProcessDefinitionPo(
    @field:Schema(description = "流程定义id")
    var id: Long? = null,
    @field:Schema(description = "流程编码", required = true)
    @field:NotBlank(message = "流程编码不能为空")
    var flowCode: String? = null,
    @field:Schema(description = "流程名称", required = true)
    @field:NotBlank(message = "流程名称不能为空")
    var flowName: String? = null,
    @field:Schema(description = "流程类别")
    var category: String? = null,
    @field:Schema(description = "流程定义内容")
    var content: String? = null
)